package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.blb.dto.ZUser;
import java.util.List;
import com.blb.dao.ZUserMapper;
import com.blb.dto.ZUserExample;
import com.blb.service.ZUserService;

@Service
public class ZUserServiceImpl implements ZUserService {

    @Resource
    private ZUserMapper zUserMapper;

    @Override
    public long countByExample(ZUserExample example) {
        return zUserMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZUserExample example) {
        return zUserMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer uid) {
        return zUserMapper.deleteByPrimaryKey(uid);
    }

    @Override
    public int insert(ZUser record) {
        return zUserMapper.insert(record);
    }

    @Override
    public int insertSelective(ZUser record) {
        return zUserMapper.insertSelective(record);
    }

    @Override
    public List<ZUser> selectByExample(ZUserExample example) {
        return zUserMapper.selectByExample(example);
    }

    @Override
    public ZUser selectByPrimaryKey(Integer uid) {
        return zUserMapper.selectByPrimaryKey(uid);
    }

    @Override
    public int updateByExampleSelective(ZUser record, ZUserExample example) {
        return zUserMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ZUser record, ZUserExample example) {
        return zUserMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZUser record) {
        return zUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZUser record) {
        return zUserMapper.updateByPrimaryKey(record);
    }

}


